<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui" template="./template.xhtml">

    <ui:define name="screen">

        <h:form prependId="false">
            <h:panelGrid columns="3">
                <h:outputLabel for="login" value="Login" />
                <p:inputText id="login" required="true" />
                <h:message for="login"/>

                <h:outputLabel for="senha" value="Senha" />
                <p:password id="senha" required="true" feedback="false"/>
                <h:message for="senha" />
            </h:panelGrid>
            <p:commandButton value="Acessar" />
            <p:commandButton value="Limpar"/>
            
        </h:form>
        
        
        <h:form>
            <h:commandLink value="Voltar" action="index"/><!--link ao formulário index-->
        </h:form> 

    </ui:define>
        
    
</ui:composition>